package com.cmict.data.infra.controller.admin.consulthistory.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;

/**
* 咨询历史管理 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class ConsultHistoryBaseVO {

    private Long historyId;

    private Long issueTitleId;

    @ApiModelProperty(value = "聊天类型", required = true)
    @NotNull(message = "聊天类型不能为空")
    private Integer toType;

    @ApiModelProperty(value = "聊天内容", required = true)
    @NotNull(message = "聊天内容不能为空")
    private String chatContent;

    @ApiModelProperty(value = "谁发送的", required = true)
    @NotNull(message = "谁发送的不能为空")
    private Long fromUserId;

    @ApiModelProperty(value = "接受者id", required = true)
    @NotNull(message = "接受者id不能为空")
    private Long toTypeId;

}
